package com.wjm.blog.common.util.mail;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author yw
 * @Date 2023-05-14
 */
@Data
@ApiModel("盘点差异")
public class QueryStocktakingDiffVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    @Excel(name = "pkg", orderNum = "1", width = 15)
    private String pkg;

    @Excel(name = "sku", orderNum = "2", width = 15)
    private String sku;

    @Excel(name = "物料条码", orderNum = "3", width = 15)
    @ApiModelProperty("物料条码")
    private String lot02;

    @Excel(name = "数量", orderNum = "4", width = 15)
    @ApiModelProperty("盘点前数量")
    private Integer amount;

    @Excel(name = "盘点确认数量", orderNum = "5", width = 15)
    @ApiModelProperty("盘点确认数量")
    private Integer checkAmount;

    //    @Excel(name = "盘点人ID", orderNum = "6", width = 15)
    @ApiModelProperty("盘点人ID")
    private Long checkerId;

    @Excel(name = "确认人", orderNum = "6", width = 15)
    private String checkerName;

    @ApiModelProperty("创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

//    @Excel(name = "确认时间", orderNum = "8", width = 30, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("修改时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @Excel(name = "确认时间", orderNum = "8", width = 30)
    @ApiModelProperty("修改时间")
    private String updateTimeStr;

    @Excel(name = "差异类型", orderNum = "9", width = 15)
    @ApiModelProperty("差异类型")
    private String diffType;
}
